﻿using System;
using System.IO;
using System.Reflection;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Runtime.Serialization.Json;
using System.Text;
using Xoohoo.Infrastructure.FastReflectionLib;
using System.ComponentModel;

namespace Xoohoo.Extensions
{
    public static class GuidExtensions
    {
        public static bool IsNullOrEmpty(this Guid? source)
        {
            return !source.HasValue || source.Value == Guid.Empty;
        }

    }
}
